package com.pin.si.www.example.mybatis_flex.service.hello;

import com.pin.si.www.example.mybatis_flex.mapper.hello.dao.HelloDO;
import com.pin.si.www.example.mybatis_flex.mapper.hello.HelloMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class HelloServiceImpl implements HelloService {

    @Resource
    private HelloMapper helloMapper;

    @Override
    public void create(String hello) {
        helloMapper.insert(HelloDO.builder().hello(hello).build());
    }

}
